<?php


namespace app\api\controller\v1;


use app\api\validate\IDValidate;
use think\Exception;

class Banner
{
    /**
     * @param $id
     */
    public function getBanner () {
        (new IDValidate())->goCheck();
        // var_dump(pathinfo());
//        throw  new Exception('内部所参与');
    }
}